<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			/* div:hover {
				font-size: 50px;
			} */
			.pic{
				display: none;
				
				/* 隐藏元素,不占据页面空间 */
				position: absolute;
				/* 绝对定位，脱离文档流 */
			}
			.nav:hover .pic{
				display: block;
				/* 显示 */
			}
		</style>
	</head>
	<body>
		<div id="">
			鼠标移动到元素上
		</div>
		<div class="nav">
			显示
			<div class="pic">
				<img src="../css动画/img/dog.jpg" >
			</div>
		</div>
		<img src="../2D/4.png" >
	</body>
</html>
